<template>
    <div class="title">
      <h2>饿了么</h2>
      <div class="title_a">
          <div class="right">
          <img src="../assets/01.gif" alt="">
              <div class="title_aa">
                <h4>7a9aa5a077a</h4>
              <div class="num">136****9070</div>
              </div>
              
          </div>
          <button>账户设置</button>
      </div>
      <div class="blue">
          <div>
            <span class="yi">吃货卡</span>
            <span class="er">吃货豆:1461</span>
          </div>
          <p>升级超级吃货卡，每月得无门槛红包，下单5倍返吃货豆</p>
      </div>
      <!-- 红包与余额 -->
      <div class="write">
          <div class="zuo">
              <span>红包</span>
              <span>7张今日到期</span>
          </div>
          <div class="you">
              <span>余额</span>
              <span>0元</span>
          </div>
      </div>
      <!-- 工具栏 -->
      <div class="tool">
        <h2>常用工具</h2>
        <div class="toollist">
            <span>我的地址</span>
            <span>我的客服</span>
            <span>店铺关注</span>
            <span>评价有礼</span>
        </div>
      </div>
      <!-- 服务号 -->
      <div class="service">
        <div class="invitation">
            <h2>邀好友赚现金</h2>
            <div class="sw">最高得15元</div>
            <div class="envelope"></div>
            <div class="btn">
                <button>去邀请</button>
                <button>查佣金</button>
            </div>
        </div>

        <div class="invitation">
            <h2>邀好友赚现金</h2>
            <div class="sw">最高得15元</div>
            <div class="envelope"></div>
            <div class="btn">
                <button>去邀请</button>
                <button>查佣金</button>
            </div>
        </div>
      </div>
    </div>
  </template>
  
  <script>
  export default {
  
  }
  </script>
  
  <style scoped>
  *{
      margin: 0;
      padding: 0;
  
  }

  h2{
    margin: 20px 20px;
  }
  img{
      width: 60px;
      height: 60px;
      border-radius: 50%;
      
  
  }
  .title_a{
      display: flex;
     justify-content: space-between;
      margin: 20px 10px;
  }
  .title_aa{
    margin-left: 10px;
  }
  .right{
    display: flex;
    margin-left: 10px;
  }
  button{
      margin-top: 10px;
      width: 100px;
      border-radius :10px;
      height: 30px;
      background-color: aliceblue;
      border: 1px solid rgb(221, 221, 221);
  }
  .blue{
      width: 90%;
      height: 80px;
      background-color: rgb(65, 153, 255);
      margin-left: 5%;
      color: white;
      border-radius: 10px;
  }
  .blue div{
    margin-left: 15px;
    padding: 10px 10px;
  }
  .blue p{
    margin-left: 15px;
    padding-left: 10px;
    padding-bottom: 10px;
  }
  .yi{
      font-size: 20px;
      font-weight: 700;
      margin-right: 20px;
  }
  p{
      margin-top: 10px;
      font-size: 14px;
  }
  .write{
      width: 90%;
      height: 80px;
      background-color: rgb(255, 255, 255);
      display: flex;
      justify-content: space-around;
      margin-left: 5%;
      margin-top: 15px;
      border-radius: 10px;

  }
  .write span{
      display: block;
      margin: 16px;
  }
  .tool{
    width: 90%;
    height: 120px;
    background-color: rgb(255, 255, 255);
    margin: 20px auto;
    border-radius: 10px;
  }
  .tool h2{
    margin-left: 15px;
    padding-top: 10px;

  }
  .tool .toollist{
    display: flex;
    justify-content: space-between;
    margin-left: 15px;
    margin-top: 45px;
  }
  .service{
    width: 90%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
  }
  .invitation{
    width: 250px;
    height: 300px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    margin: 10px 0px;
   
    
  }
  .invitation h2{
    padding-top: 10px;
  }
  .invitation .sw{
    margin-left: 20px;
  }
  .envelope{
    width: 200px;
    height: 100px;
    margin: 15px auto;
    background-color: rgb(237, 237, 237);
  }
  .btn{
    display: flex;
    justify-content: space-between;
    margin: 10px 10px;
  }
  .btn button{
    background-color: rgb(255, 255, 255);
  }
  </style>